/*
 *@Database meeting
 *@SrcGener lava.rt.persistence.sql.src.MySQLDataContextSrcGener
 *@CreateAt Wed Aug 02 16:40:03 CST 2023
*/ 
package ss.pku.meeting.dc; 

import lava.rt.persistence.sql.*; 
@SuppressWarnings("static-access")
public abstract class MeetingDataContextBase extends lava.rt.persistence.sql.SqlDataContext implements ss.pku.meeting.dc.MeetingDataContext{ 

	@Override
	protected Class<? extends lava.rt.persistence.sql.SqlDataContext> thisClass() {return MeetingDataContextBase.class; }

	 public final TableTemplate<MeetingEvent> MEETING_EVENT=createTable(CRITERIA.MeetingEvent,CRITERIA.id.toString(),()->new MeetingEvent());
	 public final TableTemplate<Reservation> RESERVATION=createTable(CRITERIA.Reservation,CRITERIA.id.toString(),()->new Reservation());
	 public final TableTemplate<MeetingRoom> MEETING_ROOM=createTable(CRITERIA.MeetingRoom,CRITERIA.roomId.toString(),()->new MeetingRoom());
	 public final TableTemplate<Department> DEPARTMENT=createTable(CRITERIA.Department,CRITERIA.deptId.toString(),()->new Department());
	 public final TableTemplate<Meeting> MEETING=createTable(CRITERIA.Meeting,CRITERIA.mtId.toString(),()->new Meeting());
	 public final TableTemplate<MeetingRecord> MEETING_RECORD=createTable(CRITERIA.MeetingRecord,CRITERIA.recordId.toString(),()->new MeetingRecord());
	 public final TableTemplate<Message> MESSAGE=createTable(CRITERIA.Message,CRITERIA.id.toString(),()->new Message());
	 public final TableTemplate<Repair> REPAIR=createTable(CRITERIA.Repair,CRITERIA.id.toString(),()->new Repair());
	 public final TableTemplate<Status> STATUS=createTable(CRITERIA.Status,CRITERIA.roomId.toString(),()->new Status());
	 public final TableTemplate<Manager> MANAGER=createTable(CRITERIA.Manager,CRITERIA.username.toString(),()->new Manager());
	 public final TableTemplate<Login> LOGIN=createTable(CRITERIA.Login,CRITERIA.userId.toString(),()->new Login());
	 public final TableTemplate<ApplicationRecord> APPLICATION_RECORD=createTable(CRITERIA.ApplicationRecord,CRITERIA.applicationId.toString(),()->new ApplicationRecord());
	 public final TableTemplate<Participants> PARTICIPANTS=createTable(CRITERIA.Participants,CRITERIA.id.toString(),()->new Participants());







} //end